﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Models;
using BLL;

namespace Player.ShangCheng
{
    public partial class SCjingxuan : System.Web.UI.MasterPage
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if(!IsPostBack)
            {
                //游戏类型显示
                this.dtlsgametype.DataSource = BLL.GmTypeManage.SeleAllGmType();
                this.dtlsgametype.DataBind();
                if (Session["usid"] != null)
                {
                    int usid = Convert.ToInt32(Session["usid"]);
                    this.Rpt_wegm.DataSource = BLL.GameManage.SeleGamejoinOrders(Convert.ToInt32(Session["usid"]));
                    this.Rpt_wegm.DataBind();
                }


            }
        }

        protected void btn_sousuo_Click(object sender, EventArgs e)
        {
        }

        protected void dtlsgametype_SelectedIndexChanged(object sender, EventArgs e)
        {

        }
    }
}